Skip to content

Conversation

@Light2Dark
Copy link
Contributor

@Light2Dark Light2Dark commented Oct 28, 2025

📝 Summary

Upon introspecting the database on the left-hand panel, we receive the messages and update the datasource connection, therefore ensuring autocompletions and context are loaded for AI or editing.

Added perf tests to see the impact, and it was very fast due to how db's are hierarchied. O(m+n+p), m < n < p.
Avg time is 0.0033ms on large hierarchy

🔍 Description of Changes

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

@vercel
Copy link

vercel bot commented Oct 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Nov 4, 2025 3:01am

@github-actions github-actions bot added the bash-focus Area to focus on during release bug bash label Oct 28, 2025
@github-actions
Copy link

Breaking changes detected in the OpenAPI specification!

@Light2Dark Light2Dark force-pushed the sham/update-datasource-connections-based-on-introspection branch from f9bac28 to 5724bdc Compare October 29, 2025 10:07
@github-actions
Copy link

Breaking changes detected in the OpenAPI specification!

@Light2Dark
Copy link
Contributor Author

not sure why the spec is failing.

@github-actions
Copy link

Breaking changes detected in the OpenAPI specification!

@Light2Dark Light2Dark marked this pull request as ready for review October 29, 2025 10:55
@Light2Dark Light2Dark added the enhancement New feature or request label Oct 29, 2025
@Light2Dark Light2Dark requested a review from mscolnick October 29, 2025 10:56
mscolnick
mscolnick previously approved these changes Oct 29, 2025
@github-actions
Copy link

Breaking changes detected in the OpenAPI specification!

mscolnick
mscolnick previously approved these changes Oct 29, 2025
@Light2Dark Light2Dark force-pushed the sham/update-datasource-connections-based-on-introspection branch from 999dc1c to 9ecf1ed Compare November 1, 2025 16:57
@github-actions
Copy link

github-actions bot commented Nov 1, 2025

Breaking changes detected in the OpenAPI specification!

@Light2Dark Light2Dark force-pushed the sham/update-datasource-connections-based-on-introspection branch from 9ecf1ed to 482ae68 Compare November 3, 2025 08:18
@github-actions
Copy link

github-actions bot commented Nov 3, 2025

Breaking changes detected in the OpenAPI specification!

@Light2Dark Light2Dark force-pushed the sham/update-datasource-connections-based-on-introspection branch from 482ae68 to 51e6b24 Compare November 4, 2025 03:00
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Breaking changes detected in the OpenAPI specification!

Copy link
Contributor

@mscolnick mscolnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just FYI, this perf is not bad (as you said its m + n), but it could be O(1) if we do find it becomes an issue

@Light2Dark Light2Dark merged commit 09fdbf2 into main Nov 4, 2025
42 of 45 checks passed
@Light2Dark Light2Dark deleted the sham/update-datasource-connections-based-on-introspection branch November 4, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bash-focus Area to focus on during release bug bash enhancement New feature or request merge when ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants